.TH std::allocator::allocator 3 "2024.06.10" "http://cppreference.com" "C++ Standard Libary"
.SH NAME
std::allocator::allocator \- std::allocator::allocator

.SH Synopsis
   allocator() throw();                       \fI(until C++11)\fP
   allocator() noexcept;                      \fI(since C++11)\fP
                                              \fI(until C++20)\fP
   constexpr allocator() noexcept;            \fI(since C++20)\fP
   allocator( const allocator& other                        \fI(until C++11)\fP
   ) throw();
   allocator( const allocator& other                        \fI(since C++11)\fP
   ) noexcept;                                              \fI(until C++20)\fP
   constexpr allocator( const                               \fI(since C++20)\fP
   allocator& other ) noexcept;       \fB(1)\fP
   template< class U >
   allocator( const allocator<U>&         \fB(2)\fP                             \fI(until C++11)\fP
   other ) throw();
   template< class U >                                                    \fI(since C++11)\fP
   allocator( const allocator<U>&             \fB(3)\fP                         \fI(until C++20)\fP
   other ) noexcept;
   template< class U >
   constexpr allocator( const                                             \fI(since C++20)\fP
   allocator<U>& other ) noexcept;

   Constructs the default allocator. Since the default allocator is stateless, the
   constructors have no visible effect.

.SH Parameters

   other - another allocator to construct with
